package com.vencent.spring.xml.bean;

/**
 * 贪玩的人
 * @author 1d
 *
 */
public class FunPerson {
	private Toys toys;
	
	public FunPerson() {
		super();
	}
	
	public FunPerson(Toys toys) {
		super();
		this.toys = toys;
	}

	public Toys getToys() {
		return toys;
	}

	public void setToys(Toys toys) {
		this.toys = toys;
	}

	public void play(){
		toys.isPlayed();
	}
}
